package com.lxfy.ai_eyes  // ← 替换包名

import okhttp3.MultipartBody
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.*

data class ApiResponse(
    val success: Boolean,
    val text: String,
    val audio_url: String? = null
)

interface ApiService {
    @Multipart
    @POST("api/qwen-omni")  // 后端路径
    fun analyzeImage(@Part image: MultipartBody.Part): Call<ApiResponse>
}